package com.secondGroup.serviceImpl;

import com.secondGroup.entity.VirtualBankCard;
import com.secondGroup.mapper.VirtualBankCardMapper;
import com.secondGroup.service.VirtualBankCardService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.nio.file.WatchEvent;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ybk
 * @since 2022-05-05
 */
@Service
public class VirtualBankCardServiceImpl extends ServiceImpl<VirtualBankCardMapper, VirtualBankCard> implements VirtualBankCardService {
    @Resource
    private VirtualBankCardMapper virtualBankCardMapper;


    @Override
    public List<VirtualBankCard> findAll(String account) {
        return virtualBankCardMapper.findAll(account);
    }

    @Override
    public VirtualBankCard selectinfo(String cid) {
        return virtualBankCardMapper.selectinfo(cid);
    }

    @Override
    public VirtualBankCard selectverification(String cid, String idNumber) {
        return virtualBankCardMapper.selectverification(cid,idNumber);
    }
}
